/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package practice.de1;

/**
 *
 *
 */
public class Event {

    private String time;
    private String place;
    private String content;

    public Event(String time, String place, String content) {
        this.time = time;
        this.place = place;
        this.content = content;
    }

    public Event() {
    }

    public void display() {
        System.out.println(time + "-" + place + "-" + content);
    }

    /**
     * Get the value of place
     *
     * @return the value of place
     */
    public String getPlace() {
        return place;
    }

    /**
     * Set the value of place
     *
     * @param place new value of place
     */
    public void setPlace(String place) {
        this.place = place;
    }

    /**
     * Get the value of content
     *
     * @return the value of content
     */
    public String getContent() {
        return content;
    }

    /**
     * Set the value of content
     *
     * @param content new value of content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * Get the value of time
     *
     * @return the value of time
     */
    public String getTime() {
        return time;
    }

    /**
     * Set the value of time
     *
     * @param time new value of time
     */
    public void setTime(String time) {
        this.time = time;
    }
}
